package de.gbeine.java.depview.event;

import de.gbeine.java.depview.layout.ChangeLayoutStrategy;



/**
 *
 * @author gbeine
 *
 */
public class ChangeLayoutEvent extends Event {

    private final ChangeLayoutStrategy strategy;

    /**
     *
     * @param pSource
     * @param pFilename
     */
    public ChangeLayoutEvent(final Object pSource, final ChangeLayoutStrategy pStrategy) {
        super(pSource);
        this.strategy = pStrategy;
    }

    /**
     *
     */
    public ChangeLayoutStrategy getLayout() {
        return this.strategy;
    }
}
